<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta name="Author" content="benben" />
	<meta name="Description" content="Produces by JWI (http://www.51jsr.com)" />
	<meta name="keywords" content="JavaScript Framework,webUI,js,function,HTML,CSS,脚本" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Log4j的封装演示 jsRookie - JavaScript UI module package</title>
	<link rel="shortcut icon" href="/favicon.ico" />
	<script type="text/javascript" src="../jsr/plugins/log4j.js"></script>
</head>

<body>
	<div style="width:300px;height:200px;border:1px solid red;padding:20px" onclick="aas(event)">
		<input type="text" value="Log4j"/>
		<button>test</button>
	</div>
</body>
<script>
Log4j.init(4);
var a = function(a, b) {
	this.a = a;
	this.b = b;
	this.c = function() {
		alert();
	}
	
	function abc() {
		alert("abc")
	}
	
}
a.prototype.A = function() {
	alert("A")
}

var aaa = new a(1, 2);
Log4j.debug(Log4j.analysis(aaa));

function aas(event) {
	var e = event || window.event;
	Log4j.error(Log4j.analysis(e));
}

</script>
</html> 